cod_print_chat

Syntax

native cod_print_chat(id, const text[], any:...);

Usage

index
Player index, use 0 to display to all players
text
String to display
...
Variables to replace formatting parameters in text string

Description

Sends colored chat message with [CoD] prefix to players.

Note

The colors can be modified inside of the format string using special characters.
These characters can be included using the escape character:
   green           x04   ; use location color from this point forward
   red/blue/grey   x03   ; use team color from this point forward
   red/blue/grey   x02   ; use team color to the end of the client name
                         ; This only works at the start of the string,
                         ; and precludes using other control characters
   default         x01   ; use default color from this point forward

Return

This function has no return value.